package org.szy.plugin.sys.entity;

import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

/**
 * 系统用户表实体
 *
 * @author wangbuhao
 * @since 2023-06-27 09:56:03
 **/
@Table(value = "sys_user", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class SysUser extends BaseEntity {

    /** 主键 */
    /** 账号 */
    private String account;
    /** 密码 */
    private String password;
    /** 用户标识 */
    private String personId;
    /** 昵称 */
    private String nickName;
    /** 姓名 */
    private String name;
    /** 头像 */
    private String avatar;
    /** 手机 */
    private String phone;
    /** 状态（ 0停用 1启用） */
    private Integer status;

    public String getAccount() {
        return account;
    }
    public void setAccount(String account) {
        this.account = account;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getPersonId() {
        return personId;
    }
    public void setPersonId(String personId) {
        this.personId = personId;
    }
    public String getNickName() {
        return nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAvatar() {
        return avatar;
    }
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

}
